<template>
  <div class="home">
    <div>
      <myHeader></myHeader>
    </div>

    <div class="clear">
      <leftNav></leftNav>
      <div class="main">
        <router-view></router-view>
      </div>
    </div>
  </div>
</template>

<script>
import myHeader from '../components/header'
import leftNav from "../components/leftNav"
export default {
  name: 'Home',
  components: {
    myHeader,
    leftNav,
  },
  data(){
    return{

    }
  }
}
</script>

<style lang="less" scoped>
  .clear{
    content: '';
    display: block;
    clear: both;
  }
  .main{
    border: 1px solid sandybrown;
    float: left;
    width: 80%;
  }
</style>